package com.cos.hospital.code;

/**
 * @Description: 这里丢常量
 * @Author: Kosmos
 * @Date: 2018年09月08日 16:28
 * @Email: KosmoSakura@foxmail.com
 */
public interface Code {
    boolean DebugState = true;
    //接口失败默认提示
    String DefaultPrompt = "接口异常，请稍后再试";

    interface SP {
        String USER_NAME = "user_name";//用户登陆账号
        String USER_INFO = "user_info";
        String START_APP = "start_app";
        String FIRST_START_APP = "first_start_app";
        String LOGIN = "login";//登录状态
        String ID = "id";
        String FLDELEID = "fldEleID";
        String FLDSIGNID = "fldSignId";
        String FLDMEDICALHISTORYID = "fldMedicalHistoryId";
        String FLDDOCTORID = "fldDoctorId";//医生ID
        String FLDPATIENTID = "fldPatientId";//医生ID
        String FLDNAME = "fldName";
        String FLDSEX = "fldSex";
        String FLDAGE = "fldAge";
        String FLDCREATETIME = "fldCreateTime";
        String FLDMEDICALNUM = "fldMedicalNum";
        String FLDDOCTORNAME = "fldDoctorName";
        String TREATMENTNUMBER = "treatmentNumber";
        String CONTENT = "content";
        String FLDSTATE = "fldState";
        String FLDTREATMENTSTATE = "fldTreatmentState";
        String IMAGEBEANLIST = "imageBeanList";
        String EDITABLE = "editable";
        String FROMCURE = "fromCure";
        String IMAGEPATH = "ImagePath";
        String SAVEPATH = "savePath";
        String KEY = "key";
        String TOKEN = "token";
        String DB_VERSION = "the_version_of_database";//数据库版本号
        String PHONE = "phone";
    }

    interface Link {
        //                String HOST_URL = "http://120.79.19.109:8012/";//正式环境
        String HOST_URL = "http://ptfdev.rmmit.com:8056/";//开发环境
//        String HOST_URL = "http://119.6.97.227:2002/";//测试环境

        //其他资源接口
        String ResUpload = "api/Resource/Upload";//文件上传
        String ResCheckDB = "api/services/app/fixedData/QuerySqlVersion";//查询数据库版本
        String ResAcupoint = "api/services/app/fixedData/QueryAcutionData";//查询穴位数据
        String ResMeridian = "api/services/app/fixedData/QueryMeridianData";//查询经络数据
        String ResCure = "api/services/app/fixedData/QueryTreatmentItemData";//查询治疗项目数据
        String ResElement = "/api/services/app/fixedData/QueryElementInfo";//查询元素信息数据

        //用户相关
        String UserToken = "Token";//获取token
        String UserSession = "api/services/app/shared/GetCurrentSession";//获取当前用户的session
        String GetApkVersion = "api/services/app/shared/GetApkVersion";//获取APK版本信息
        String UserPwd = "api/services/doctor/user/UpdateUserPwd";//修改密码
        String UserSign = "api/services/doctor/receivingManagement/SignIn";//签到
        String UserInfo = "api/services/doctor/personal/QueryUserInfo";//我的资料
        String UserPhoneCode = "api/services/app/shortMessage/SendMobileCode";//发送手机验证码
        //病历相关
        String QueryMedicalRecordList = "api/services/doctor/medicalRecord/QueryMedicalRecordList";//历史病历查询
        String QueryMedicalRecordInfo = "api/services/doctor/medicalRecord/QueryMedicalRecordInfo";//患者病历查询
        String SaveMedical = "api/services/doctor/medicalRecord/SaveMedical";//病历保存(可同时签到接诊)
        String SaveMedicalElement = "api/services/doctor/medicalRecord/SaveMedicalElement";//保存元素
        String SaveMedicalImage = "api/services/doctor/medicalRecord/SaveMedicalImage";//保存元素（图片）
        String SaveMedicalMHF = "api/services/doctor/medicalRecord/SaveMedicalMHF";//保存元素（月经史公式）
        String SaveMedicalRHF = "api/services/doctor/medicalRecord/SaveMedicalRHF";//保存元素（生育史公式）
        String DeleteMedicalElement = "api/services/doctor/medicalRecord/DeleteMedicalElement";//删除元素
        String DeleteMedicalMHF = "api/services/doctor/medicalRecord/DeleteMedicalMHF";//删除月经史公式
        String DeleteMedicalRHF = "api/services/doctor/medicalRecord/DeleteMedicalRHF";//删除生育史公式
        String QueryElementTemplate = "api/services/doctor/medicalRecord/QueryElementTemplate";//查询元素模板
        String UpdateElementTemplate = "api/services/doctor/medicalRecord/UpdateTemplateFrequency";//更新模板使用次数
        String QueryMedicalWithDate = "api/services/doctor/medicalRecord/QueryMedicalSupplement";//补充病例查询
        String QueryMedicalSupplement = "/api/services/doctor/medicalRecord/QueryMedicalDate";//查询有病历的日期
        //消息方面
        String MsgSend = "api/services/doctor/message/SendMessage";//发送消息
        String MsgSearch = "api/services/doctor/message/QuerySendMessage";//发送消息查询
        String MsgMine = "api/services/doctor/message/QueryReceiveMessage";//我的消息查询

        //排班
        String ScheduleDefaultChange = "/api/services/doctor/personal/CreatDefaultSchedule";//创建+修改默认排班
        String ScheduleDefaultSearch = "api/services/doctor/personal/QueryDefaultSchedule";//默认排班查询
        String ScheduleSearch = "api/services/doctor/personal/QuerySchedule";//排班查询
        String ScheduleCreat = "api/services/doctor/personal/CreatSchedule";//创建+修改排班
        //助理相关
        String AssistMine = "api/services/doctor/personal/QueryAssistant";//我的助理
        String AssistSearch = "api/services/doctor/personal/QueryAssistantInfo";//查询助理信息
        String AssistCreat = "api/services/doctor/personal/CreatAssistant";//新增助理
        String AssistEdit = "api/services/doctor/personal/EditAssistant";//修改助理
        //患者相关
        String PatientCreat = "api/services/doctor/patient/CreatPatient";//患者建档
        String PatientVisitingList = "api/services/doctor/patient/QueryVisitingPagesV1 ";//患者列表查询(接诊管理列表)
        String PatientInfoSearch = "api/services/doctor/patient/GetPatientInfo";//患者档案查询
        String PatientFileSearch = "api/services/doctor/patient/GetPatientInfoV1";//患者档案查询


        String PatientList = "api/services/doctor/patient/QueryPatientList";//患者列表查询(患者管理列表)
        String PatientInfoEdit = "api/services/doctor/patient/EditPatientInfo";//修改患者信息
        //治疗相关
        String SurplusCureList = "api/services/doctor/treatmentItems/QueryPatientItemList ";//剩余患者治疗项目查询
        String CurePatientAdd = "api/services/doctor/treatmentItems/EditPatientItems";//患者治疗项目修改增加
        String CureProjectSearch = "api/services/doctor/treatmentItems/QueryTreatmentItemList";//治疗项目查询
        String CureList = "api/services/doctor/patientTreatment/QueryPatientTreatmentPagesV1";//查询治疗列表
        String CureStart = "api/services/doctor/patientTreatment/CreatPatientTreatmentV1";//添加患者治疗(开始治疗/继续接诊/保存)
        String CurePause = "api/services/doctor/patientTreatment/StopAndStartPatientTreatment";//暂停开始治疗（继续接诊后开始治疗）
        String CureFinish = "api/services/doctor/patientTreatment/PatientTreatmentEnd";//治疗结束
        String CureInfo = "api/services/doctor/patientTreatment/QueryPatientTreatmentInfoV1";//查询患者治疗信息(针灸方案)
        String CureAcupoint = "api/services/doctor/patientTreatment/QueryAcupoint";//穴位查询
        String QUERY_BED_INFO = "api/services/doctor/patientTreatment/QueryConsultingRoomBedInfoV1"; // 床位信息查询
    }

    /**
     * 数据库
     */
    interface DB {
        String DB_NAME = "hospital-db";//数据库名字
        String Acupoint = "acupoint";//穴位字段

    }

    /**
     * 页面句柄
     */
    interface Actions {
        String AssistantId = "the_id_of_assistant";//助理id
        String MHF_KEY = "mhf_key";//月经史公式
        String RHF_KEY = "rhf_key";//生育史公式
    }

    /**
     * 广播句柄
     */
    interface Broadcast {
        String CutoverToReception = "cutover_main_page_to_reception";//前往接诊管理
        String CutoverToCure = "cutover_main_page_to_cure";//前往治疗管理
        String CutoverToPatient = "cutover_main_page_to_patient";//前往患者管理
        String CutoverToUserCenter = "cutover_main_page_to_user_center";//前往个人中心
        String CUREEND = "cure_end";//治疗结束
    }
}
